#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>

QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

private slots:
    void on_comboBox_serial_name_currentIndexChanged(const QString &arg1);


    void on_comboBox_baudrate_currentIndexChanged(const QString &arg1);

    void on_comboBox_databits_currentIndexChanged(const QString &arg1);

    void on_comboBox_stopbits_currentIndexChanged(int index);

    void on_comboBox_parity_currentIndexChanged(int index);

    void on_comboBox_flow_currentIndexChanged(int index);

    void on_radioButton_open_serial_clicked(bool checked);

    void on_pushButton_send_data_clicked();

    void on_checkBox_hex_send_clicked(bool checked);

    void on_checkBox_hex_recv_clicked(bool checked);

    void on_Serial_Ready_Read(void);

    void on_pushButton_clear_recv_clicked();

    void on_pushButton_clear_send_clicked();

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
